from celery import Celery
import time

cel = Celery('celery',
             broker='redis://:tansi201407@192.168.8.10:6379/2',
             backend='redis://:tansi201407@192.168.8.10:6379/2')

@cel.task
def add(x,y):
    return x+y